﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MebAppMarketplace.Model
{

    public class AppBase : BaseModel
    {
        public Guid OwnerID { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 是否下架
        /// </summary>
        public bool IsOffShelve { get; set; }
        /// <summary>
        /// 下架原因
        /// </summary>
        public string OffShelveReason { get; set; }
        /// <summary>
        /// 该字段存储待审App信息，审核通过后在App表创建一条记录，如果同ID记录存在则直接修改
        /// 审核结果通过邮件发送给开发者
        /// </summary>
        public string AppJson { get; set; }

        /// <summary>
        /// 当前版本
        /// </summary>
        public int? Version { get; set; }
        /// <summary>
        /// 用户可以申请删除App
        /// </summary>
        public bool Deleted { get; set; }
        public string Publisher { get; set; }
        public string Manufacturer { get; set; }
    }
}
